ExamPlay Light Logo
Pierakstīties

Computer Science for IGCSE & O level - Programming (Section 1 - No. 40)

Which variable(s) are likely to be declared as global variables?
StudentTotal
ClassName
SubjectTotal
Mark

Paskaidrojums

Global variables are accessible from anywhere in the program. In the code examples, variables like ClassName and student-related totals would likely be global, whereas Mark is only used within inner loops.

komentāri (0)

Piesakieties, lai komentētu
Reklāma
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc